import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
import mainHome from '../views/home/MainHome.vue'

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',  //页面主路由
        name: 'main',
        component: mainHome,
    },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router

